﻿<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!-- 清除页面缓存 -->
<%
response.setHeader("Pragma","No-cache"); 
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0); 
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<script language="JavaScript" src="${ctx}/scripts/commons/main/menu_dd.js"></script>
<link href="${ctx}/tree/css/xtree2.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/tree/scripts/xtree2.js"></script>
<script type="text/javascript" src="${ctx}/tree/scripts/png.js"></script>
<script type="text/javascript" src="${ctx}/tree/scripts/xloadtree2.js"></script>
<script>
webFXTreeConfig.rootIcon		= "${ctx}/images/admin/department/department.gif";
webFXTreeConfig.openRootIcon	= "${ctx}/images/admin/department/department.gif";
webFXTreeConfig.folderIcon		= "${ctx}/tree/images/xp/folder.png";
webFXTreeConfig.openFolderIcon	= "${ctx}/tree/images/xp/openfolder.png";
webFXTreeConfig.fileIcon		= "${ctx}/tree/images/xp/file.png";
webFXTreeConfig.lMinusIcon		= "${ctx}/tree/images/xp/Lminus.png";
webFXTreeConfig.lPlusIcon		= "${ctx}/tree/images/xp/Lplus.png";
webFXTreeConfig.tMinusIcon		= "${ctx}/tree/images/xp/Tminus.png";
webFXTreeConfig.tPlusIcon		= "${ctx}/tree/images/xp/Tplus.png";
webFXTreeConfig.iIcon			= "${ctx}/tree/images/xp/I.png";
webFXTreeConfig.lIcon			= "${ctx}/tree/images/xp/L.png";
webFXTreeConfig.tIcon			= "${ctx}/tree/images/xp/T.png";


var tree=new WebFXTree("栏目功能");//根结点

function reload(){
	window.location.href = "${ctx}/depart/depart!departLeft.action";
}

//var role_token = "${session.role_token}";
</script>
</head>


<body style="margin-left:6px;">
<table class="div_t2 zd_l3" width="97%" style="margin:0;">
	<tr class="bg1"><td class="font14" height="30">栏目列表</td></tr>
	<tr>
	<td align="left">
	<div id="module_4" style="margin-left:0px; text-align:left;">
	
	<script>
	<s:iterator value="titles" status="title">
	
	var groupTree = new WebFXLoadTreeItem("${titleName}","${ctx}/subFunc/subFunc_subFuncTree.action?parentCode=${titleCode}","","","${ctx}/images/main/depart.gif","${ctx}/images/main/depart.gif");
	tree.add(groupTree);
	
	</s:iterator>					
	</script>
	
	
	<script type="text/javascript">
	tree.setShowRootNode(false);////不显示根结点
	tree.write();
	</script>
	</div>
     </td>
	</tr>
</table>
</body>
</html>
